package com.tian.factory.abstractfactory.factory;

import com.tian.factory.function.product.AoDiA4;
import com.tian.factory.function.product.AoDiA5;
import com.tian.factory.function.product.AoDiA6;
import com.tian.factory.function.product.ICar;

/**
 * @author tiansongtao, Email:tiansongtao@up366.com
 * @date 2020/12/24 16:03
 */
public class AoDIFactory implements IFactory {


    @Override
    public ICar createLowProduct() {
        return new AoDiA4();
    }

    @Override
    public ICar createMiddleProduct() {
        return new AoDiA5();
    }

    @Override
    public ICar createhighProduct() {
        return new AoDiA6();
    }
}
